{{define "detail"}}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="../layui/css/layui.css">
    <title>详情</title>
</head>
<body>
<fieldset class="layui-elem-field layui-field-title">
    <legend>标题</legend>
    {{.title | replaceWrap2Br  | safe}}
</fieldset>

<fieldset class="layui-elem-field layui-field-title">
    <legend>内容</legend>
    {{.text | replaceWrap2Br | safe}}
    <br>
</fieldset>

<script src="../layui/layui.js"></script>
</body>
</html>
{{end}}